import ScrollView from "./components/ScrollView";
import SwiperView from "./components/SwiperView";
import AddCart from "./addCart/index.js";
import TipBox from "./tipBox/index.js";
import MsgBox from "./msgBox/index.js";

export default{
    install(Vue){
        Vue.component("ScrollView",ScrollView);
        Vue.component("SwiperView",SwiperView);
        window.showAddCart=Vue.prototype.$showAddCart=AddCart(Vue);
        window.showTipBox=Vue.prototype.$showTipBox=TipBox(Vue);
        window.showMsgBox=Vue.prototype.$showMsgBox=MsgBox(Vue);
    }
}